//
//  Moments.m
//  AnimationRecommend
//
//  Created by 花花蔡 on 2017/2/22.
//  Copyright © 2017年 ljm. All rights reserved.
//

#import "Moments.h"

@implementation Moments

//@property(nonatomic,strong) NSString *userName;
//@property(nonatomic,strong) NSString *iconImage;
//@property(nonatomic,strong) NSString *createdAt;
//
//@property(nonatomic,strong) NSString *text;
//
//@property(nonatomic,strong) NSArray *photos;

- (instancetype)initWithDic:(NSDictionary *)dic{
    if (self = [super init]) {
        //KVC赋值
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (instancetype)initWithDic:(NSDictionary *)dic{
    return [[self alloc] initWithDic:dic];
}


@end
